package com.briup.mybatis02code.entity.ex;

import com.briup.mybatis02code.entity.Book;
import com.briup.mybatis02code.entity.Category;
import lombok.Data;

@Data
public class BookExtend extends Book {
  private  Category category;

    @Override
    public String toString() {

        return super.toString()+ "BookExtend{" +
                "category=" + category +
                '}';
    }
}
